﻿<phone:PhoneApplicationPage
    x:Class="NfcOrchestra.SetupPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True"
    Style="{StaticResource TransitionPageStyle}">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="{Binding LocalizedResources.ApplicationTitle, Mode=OneWay, Source={StaticResource LocalizedStrings}}" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
            <TextBlock Text="{Binding LocalizedResources.SetupPageTitle, Source={StaticResource LocalizedStrings}}" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,12">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>

            <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
                   Text="{Binding LocalizedResources.SetupInstructions, Mode=OneWay, Source={StaticResource LocalizedStrings}}" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0,12,12"/>

            <!-- Beat -->
            <Rectangle x:Name="BgBeat" Grid.Row="2" Grid.Column="0" Fill="#FFE21B1B" Margin="12,0,0,0"/>
            <Image x:Name="ImgBeat" Grid.Row="2" Grid.Column="0" Source="/Assets/Instruments/beat.png" Margin="12,0,0,0"/>

            <Button x:Name="BtnBeat" Grid.Row="2" Grid.Column="1" Content="{Binding LocalizedResources.SetupBeatTag, Mode=OneWay, Source={StaticResource LocalizedStrings}}" Click="BtnBeat_Click"/>

            <!-- Sax -->
            <Rectangle x:Name="BgSax" Grid.Row="3" Grid.Column="0" Fill="#FF1BE263" Margin="12,0,0,0"/>
            <Image x:Name="ImgSax" Grid.Row="3" Grid.Column="0" Source="/Assets/Instruments/sax.png" Margin="12,0,0,0"/>

            <Button x:Name="BtnSax" Grid.Row="3" Grid.Column="1" Content="{Binding LocalizedResources.SetupSaxTag, Mode=OneWay, Source={StaticResource LocalizedStrings}}" Click="BtnSax_Click"/>

            <!-- Voice -->
            <Rectangle x:Name="BgVoice" Grid.Row="4" Grid.Column="0" Fill="#FF1BC7E2" Margin="12,0,0,0"/>
            <Image x:Name="ImgVoice" Grid.Row="4" Grid.Column="0" Source="/Assets/Instruments/microphone.png" Margin="12,0,0,0"/>

            <Button x:Name="BtnVoice" Grid.Row="4" Grid.Column="1" Content="{Binding LocalizedResources.SetupVoiceTag, Mode=OneWay, Source={StaticResource LocalizedStrings}}" Click="BtnVoice_Click"/>

            <!-- Guitar -->
            <Rectangle x:Name="BgGuitar" Grid.Row="5" Grid.Column="0" Fill="#FFF3E238" Margin="12,0,0,0"/>
            <Image x:Name="ImgGuitar" Grid.Row="5" Grid.Column="0" Source="/Assets/Instruments/guitar_unlocked.png" Margin="12,0,0,0"/>

            <Button x:Name="BtnGuitar" Grid.Row="5" Grid.Column="1" Content="{Binding LocalizedResources.SetupGuitarTag, Mode=OneWay, Source={StaticResource LocalizedStrings}}" Click="BtnGuitar_Click"/>

        </Grid>
    </Grid>

</phone:PhoneApplicationPage>